package com.adcc.loadsheet.billing.service;

import com.adcc.loadsheet.billing.vo.SystemErrorLogEntityVO;
import com.adcc.loadsheet.billing.vo.SystemJobLogEntityVO;
import com.adcc.loadsheet.billing.vo.SystemOperationLogEntityVO;
import com.github.pagehelper.PageInfo;

import java.util.Map;

/**
 * 日志service接口
 */
public interface LogService {

    //新增系统操作日志
    void operationLog(Integer operationType, String content, String operator);

    //查询系统操作日志
    PageInfo<SystemOperationLogEntityVO> selectSystemOperationLogForPage(Map<String, Object> map);

    //新增系统异常日志
    void errorLog(Integer logType, String content);

    //查询系统异常日志
    PageInfo<SystemErrorLogEntityVO> selectSystemErrorLogForPage(Map<String, Object> map);

    //新增JOB日志
    void jobLog(Integer logType, String content);

    //查询JOB日志
    PageInfo<SystemJobLogEntityVO> selectSystemJobLogForPage(Map<String, Object> map);
}
